package com.yc.navy.goods.dto;

import java.io.Serializable;

public class ShopInfoDTOO implements Serializable{
	private static final long serialVersionUID = -3913147462024052058L;
	private Integer sid;
	private String sname;
	private Integer mid;
	private String addr;
	private String ctel;
	private String person;
	private String ptel;
	private Integer status;
	private String cname;
	private String time;
	private String stel;
	private String spic;

	@Override
	public String toString() {
		return "ShopInfo [sid=" + sid + ", sname=" + sname + ", mid=" + mid + ", addr=" + addr + ", ctel=" + ctel
				+ ", person=" + person + ", ptel=" + ptel + ", status=" + status + ", cname=" + cname + ", time=" + time
				+ ", stel=" + stel + ", spic=" + spic + "]";
	}

	public Integer getSid() {
		return sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public Integer getMid() {
		return mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public String getCtel() {
		return ctel;
	}

	public void setCtel(String ctel) {
		this.ctel = ctel;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String getPtel() {
		return ptel;
	}

	public void setPtel(String ptel) {
		this.ptel = ptel;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCname() {
		return cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getStel() {
		return stel;
	}

	public void setStel(String stel) {
		this.stel = stel;
	}

	public String getSpic() {
		return spic;
	}

	public void setSpic(String spic) {
		this.spic = spic;
	}
	
	

	public ShopInfoDTOO(Integer sid, String sname, Integer mid, String addr, String ctel, String person, String ptel,
			Integer status, String cname, String time, String stel, String spic) {
		super();
		this.sid = sid;
		this.sname = sname;
		this.mid = mid;
		this.addr = addr;
		this.ctel = ctel;
		this.person = person;
		this.ptel = ptel;
		this.status = status;
		this.cname = cname;
		this.time = time;
		this.stel = stel;
		this.spic = spic;
	}
	
	public ShopInfoDTOO() {
		super();
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((addr == null) ? 0 : addr.hashCode());
		result = prime * result + ((cname == null) ? 0 : cname.hashCode());
		result = prime * result + ((ctel == null) ? 0 : ctel.hashCode());
		result = prime * result + ((mid == null) ? 0 : mid.hashCode());
		result = prime * result + ((person == null) ? 0 : person.hashCode());
		result = prime * result + ((ptel == null) ? 0 : ptel.hashCode());
		result = prime * result + ((sid == null) ? 0 : sid.hashCode());
		result = prime * result + ((sname == null) ? 0 : sname.hashCode());
		result = prime * result + ((spic == null) ? 0 : spic.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result + ((stel == null) ? 0 : stel.hashCode());
		result = prime * result + ((time == null) ? 0 : time.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ShopInfoDTOO other = (ShopInfoDTOO) obj;
		if (addr == null) {
			if (other.addr != null)
				return false;
		} else if (!addr.equals(other.addr))
			return false;
		if (cname == null) {
			if (other.cname != null)
				return false;
		} else if (!cname.equals(other.cname))
			return false;
		if (ctel == null) {
			if (other.ctel != null)
				return false;
		} else if (!ctel.equals(other.ctel))
			return false;
		if (mid == null) {
			if (other.mid != null)
				return false;
		} else if (!mid.equals(other.mid))
			return false;
		if (person == null) {
			if (other.person != null)
				return false;
		} else if (!person.equals(other.person))
			return false;
		if (ptel == null) {
			if (other.ptel != null)
				return false;
		} else if (!ptel.equals(other.ptel))
			return false;
		if (sid == null) {
			if (other.sid != null)
				return false;
		} else if (!sid.equals(other.sid))
			return false;
		if (sname == null) {
			if (other.sname != null)
				return false;
		} else if (!sname.equals(other.sname))
			return false;
		if (spic == null) {
			if (other.spic != null)
				return false;
		} else if (!spic.equals(other.spic))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (stel == null) {
			if (other.stel != null)
				return false;
		} else if (!stel.equals(other.stel))
			return false;
		if (time == null) {
			if (other.time != null)
				return false;
		} else if (!time.equals(other.time))
			return false;
		return true;
	}
}
